import requests

# 定义请求的URL
url = 'https://api.coze.cn/v1/workflow/run'

# 定义请求头
headers = {
    'Authorization': 'Bearer pat_dbZ1Wj6rlWMhgaJapB6HzmyJSv3mwQyi3hzVmcgcKfrTQ7RuInR0IItKXlAaq34M',
    'Content-Type': 'application/json'
}

# 定义请求体
payload = {
    "parameters": {
        "destination_city": "西安",
        "start_date": "2025-01-14",
        "scenicspot": "城墙"
    },
    "workflow_id": "7458921199965077567"
}

# 发送POST请求
response = requests.post(url, headers=headers, json=payload)
print(response.text)